package com.meng.redis.enumeration;

/**
 * Redis key 和 保存数据的serviceName 枚举
 *
 * @author MENG
 * @version 2018/4/13
 * @see
 */
public enum RedisKeyAndSaveDataServiceNameEnum
{
    /**
     * 上传消费记录
     */
    UPLOAD_CONSUME_RECORD("UPLOAD_CONSUME_RECORD","uploadConsumeRecordService"),

    /**
     * 上传黑名单记录
     */
    UPLOAD_BLACK_LIST_RECORD("UPLOAD_BLACK_LIST_RECORD","uploadBlackListRecordService")
    ;


    RedisKeyAndSaveDataServiceNameEnum(String redisKey,String serviceName)
    {
        this.redisKey = redisKey;

        this.serviceName = serviceName;
    }

    private String redisKey;

    private String serviceName;

    public String getRedisKey()
    {
        return redisKey;
    }

    public String getServiceName()
    {
        return serviceName;
    }
}
